package com.campus.mapper;

import com.campus.entity.Course;
import org.apache.ibatis.annotations.Insert;
import org.mapstruct.Mapper;

@Mapper
public interface CourseMapper {
    @Insert("insert into t_course(course_name, created_time, status, activity_id, teacher_id, class_id) VALUES " +
            "(#{courseName},#{createdTime},#{status},#{activityId},#{teacherId},#{classId})")
    void insert(Course course) ;
}
